code: function(field, value) {
          if (field in this) {
              if (this.get(field) !== value && !([
                  null,
                  undefined
              ].indexOf(this.get(field)) > -1 && [
                  null,
                  undefined
              ].indexOf(value) > -1)) {
                  if (CRUD.EntityManager.entities[this.getType()].autoSerialize.indexOf(field) > -1) {
                      if (JSON.stringify(this.get(field)) != JSON.stringify(value)) {
                          this.__dirtyValues__[field] = value;
                      }
                  } else {
                      this.__dirtyValues__[field] = value;
                  }
              }
          } else {
              CRUD.log('Could not find field \'' + field + '\' in \'' + this.getType() + '\' (for set)');
          }
      }
docs: Setter, accepts key / value or object with keys/values