Add Id for entities based on Types