PK definition checking in BaseObjectMap (close #144)