[NUCCORE-1091] Add check on attempted override of primary-key in ORM
metadata