GEOT-4472 - doing a search for primary key column name

Rather than assuming 'fid' will work.