code: def getfieldcomm(bunchdt, data, commdct, idfobject, fieldname):
      
      key = idfobject.obj[0].upper()
      keyi = data.dtls.index(key)
      fieldi = idfobject.objls.index(fieldname)
      thiscommdct = commdct[keyi][fieldi]
      return thiscommdct
docs: get the idd comment for the field