Implemented get_pk_field