code: def id_match_check(self, data_df, meta_df, dim):
          
          if dim == "row":
              if len(data_df.index) == len(meta_df.index) and set(data_df.index) == set(meta_df.index):
                  return True
              else:
                  msg = ("The rids are inconsistent between data_df and row_metadata_df.\n" +
                   "data_df.index.values:\n{}\nrow_metadata_df.index.values:\n{}").format(data_df.index.values, meta_df.index.values)
                  self.logger.error(msg)
                  raise Exception("GCToo GCToo.id_match_check " + msg)
          elif dim == "col":
              if len(data_df.columns) == len(meta_df.index) and set(data_df.columns) == set(meta_df.index):
                  return True
              else:
                  msg = ("The cids are inconsistent between data_df and col_metadata_df.\n" +
                   "data_df.columns.values:\n{}\ncol_metadata_df.index.values:\n{}").format(data_df.columns.values, meta_df.index.values)
                  self.logger.error(msg)
                  raise Exception("GCToo GCToo.id_match_check " + msg)
docs: Verifies that id values match between:
              - row case: index of data_df & index of row metadata
              - col case: columns of data_df & index of column metadata