The ID value is not added to the accessor if it is the same as the entity.