Unique name generator for Node.js and browser.