code: function addAccessControl () {
      // no access control if accessIdName not set
      if (!defined(this.args.accessIdName)) {
          return
      }
      // access id column is on primary table/record
      var alias = this.alias
      // validate column name - throw error
      var column = this.model.columnName(this.args.accessIdName, true)
      // get quoted column name
      column = this.quoteName(column)
      // get param name for value placeholder
      var paramName = this.newParam(this.args.accessIdName)
      // set value for param placeholder
      this.params[paramName] = this.args.accessId
      // add UNHEX for binary ids
      var placeholder = this.unhexId(`:${paramName}`)
      // add where SQL
      this.where.push(`${alias}.${column} = ${placeholder}`)   
  }
docs: @function addAccessControl
  
  add access id column to where clause
  
  @throws {Error}