Better element id generator.