is entity name unique? use entity id?