In the function `Entity::describeRelationship`, change the hardcode of `id` to look up the primary key.