code: private boolean isIdCol(EntityMetadata m, String colName)
      {
          return ((AbstractAttribute) m.getIdAttribute()).getJPAColumnName().equals(colName);
      }
docs: Checks if is id col.
  
  @param m
  the m
  @param colName
  the col name
  @return true, if is id col