docs: function(theArray, doc) {
      if ( typeof common.fieldMatching(theArray, "id", doc.id) != ('undefined' || null)) {
          return common.fieldMatching(theArray, "id", doc.id); 
      }
      else {
          return null;
      };           
  }