You could write return this.id || this._fields.id || this.getAsString("uid");