Enhancement for random Id of elasticsearch if an entity does not have one