code: function(scope) {
                  corbel.validate.failIfIsDefined(this.id, 'This function not allowed scope identifier');
                  console.log('iamInterface.scope.create', scope);
                  return this.request({
                      url: this._buildUriWithDomain(this.uri),
                      method: corbel.request.method.POST,
                      data: scope
                  }).then(function(res) {
                      return corbel.Services.getLocationId(res);
                  });
              }
docs: Creates a new scope.
  
  @method
  @memberOf corbel.Iam.ScopeBuilder
  
  @param {Object} scope        The scope.
  @param {Object} scope.rules  Scope rules.
  @param {String} scope.type   Scope type.
  @param {Object} scope.scopes Scopes for a composite scope.
  
  @return {Promise} A promise with the id of the created scope or fails
  with a {@link corbelError}.