Work in progress- entity ID generation.