code: function(key, result) {
      var target = result || this[0];
  
      if (target) {
        var prev = target.value;
        var p = this.parent(target);
        if (p) {
          p.set(key, prev);
          p.destroy(target);
        } else {
          this.resultModified(target, prev);
        }
        }
      return this;
    }
docs: SpahQL#rename(key) -> SpahQL
  - key (Object): The key to replace this query result's key.
  
  Renames the key of the first item in this set, modifying the queried data
  in the process. If the first item in this set is the root, no action will be taken.
  
  Returns self.