Get the column name with the person identifier from a table (either subject_id or person_id), it will throw an error if it contains both or neither.
Source:R/utilities.R
      getPersonIdentifier.RdGet the column name with the person identifier from a table (either subject_id or person_id), it will throw an error if it contains both or neither.
Usage
getPersonIdentifier(x, call = parent.frame())