add unit test and fix for NH-3614

when getting the identifier in the selectrewiter it was returning a null constant when there was no class metadata, as it the case for type string
NH-3615 - Fix mapping by code of classes without namespaces.
Merge branch 'MattsGitCode-NH-3614' into 3.4.x
Merge branch '3.4.x'
NH-2861 - Basic support for filters with joins
NH-2861 - Fix failing tests
Merge branch 'icambron-NH-2861'
Partially revert bf8056a8c32f0a7dbc99e94fd1a4727c8fe3cdd2 "Fix NH-2673, NH-1090, NH-1344" plus some later changes that depend on it. Will port refactored result transformer handling from Hibernate instead.
Refactor to make handling of ResultTransformer more similar to Hibernate by porting their ef46a4efb77a7028500801a9db2a2c398e7e6b7f:
HHH-5424 HHH-5425 : Put ResultTransformer in QueryKey only if data is transformed; PropertyAccessException when caching 1 result per row
Port result transformer handling from Hibernate (dc00c4dcde1bae399a9350bd4a13f9a2a449f6c3) (NH3363).
NH2673/CachingWithTransformerTests.cs: Enable ignored tests for NH2961/3311.
Add ArrayHelper.ArrayGetHashCode function.
Merge branch 'oskarb-NH-3363'
NH-2486, NH-2645, NH-2380 - Ability to perform `Distinct(...)` after projection.
LINQ: Prevent using server-side Distinct() together with projection methods executed locally, since the distinct would operate on the values before the local method is called.
Merge branch 'NH-2380'
Implemented a couple of tests that demonstrate NH-2354
NH-2354 - Add KnownBug attribute
Merge branch 'acutus-NH-2354'