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.
Useful links