fix proxy support for composite ids in Hibernate plugins