code: function importMatchItem(i, j, item, map, miss) {
          if ('number' === typeof item) {
              return 'undefined' !== typeof map[item] ? map[item] : miss;
          }
          else if ('string' === typeof item) {
              return item;
          }
          throw new TypeError('Matcher.match: items can be only string or ' +
                              'number. Found: ' + item + ' at position ' +
                              i + ',' + j);
      }
docs: ## Helper methods. 
  ### importMatchItem
  
  Handles importing items from the matches array
  
  Items in matches array must be numbers or strings. If numbers
  they are translated into an id using the supplied map, otherwise
  they are considered as already an id.
  
  Items that are not numbers neither strings will throw an error.
  
  @param {number} i The row-id of the item
  @param {number} j The position in the row of the item
  @param {string|number} item The item to check
  @param {array} map The map of positions to ids
  @param {string} miss The id of number that cannot be resolved in map
  
  @return {string} The resolved id of the item