DATACMNS-342 - Open up API in BasicPersistentEntity to support more adva...

...nced id property selection mechanisms.

Introduced returnPropertyIfBetterIdPropertyCandidate(..) to BasicPersistentEntity