HSEARCH-1462 Use SessionImplementor.generateEntityKey(...) instead of
calling directly the constructor of EntityKey
per Steve Ebersole's advice