Check whether persistent object has identification property