HSEARCH-1629 Register the SearchFactory as a Hibernate Service
TEMP
Abstract entity identification from Class instance