unique id generator with minimalistic backing store