[NUCCORE-1092] Add check on PK fields and whether the user has defined
them in the root class and is now adding on more PK field(s) in a
subclass