var base = 0;
/**
* @public
* @param {string} type
* @return {string}
*/
export function getUID(type) {
// use Math.random to make id as unique as possible.
return [(type || ''), base++, Math.random().toFixed(5)].join('_');
}