code: function idToPath(id, config) {
      var alias = config.alias || {};
      return alias.hasOwnProperty(id) ?
          path.resolve(alias[id]) :
          path.resolve(config.base, id) + '.js';
  }
docs: Convert toplevel module id to filepath
  @private