code: function (id) {
              var scope = this._scopes[id],
                  shadowIndex;
              if (!scope) {
                  return;
              }
  
              this.removeFromScopeOrder(id);
              shadowIndex = _.findIndex(this._defaults._shadowScopeOrder, function (entry) {
                  return entry.id === id;
              });
              this._defaults._shadowScopeOrder.splice(shadowIndex, 1);
              delete this._scopes[id];
          }
docs: Removes a Scope from this PreferencesSystem. Returns without doing anything
  if the Scope does not exist. Notifies listeners of preferences that may have
  changed.
  
  @param {string} id Name of the Scope to remove