check each element of a character vector to see if it is either the primary_id or an identifier of an instrument
instrument