use a long for EntityType id's