unique id class first version which is not aware of types of unique ids