moved identifier method to entity