added support for embedded id with AttributeOverrides in Entity.