A simple unique ID generator.