Improved identifer generator.