code: function(id, method, args) {
          if (!(method in APPLY_TO_AUTH)) {
              this.log(method + ': applyTo not allowed', 'warn', 'yui');
              return null;
          }
  
          var instance = instances[id], nest, m, i;
          if (instance) {
              nest = method.split('.'); 
              m = instance;
              for (i=0; i<nest.length; i=i+1) {
                  m = m[nest[i]];
                  if (!m) {
                      this.log('applyTo not found: ' + method, 'warn', 'yui');
                  }
              }
              return m.apply(instance, args);
          }
  
          return null;
      }
docs: Executes a method on a YUI instance with
  the specified id if the specified method is whitelisted.
  @method applyTo
  @param id {string} the YUI instance id
  @param method {string} the name of the method to exectute.
  Ex: 'Object.keys'
  @param args {Array} the arguments to apply to the method
  @return {object} the return value from the applied method or null