Shortened id generator.