nl_tokens: Find the attribute that is to be used as the id on a given object
pl_tokens: function ( type , item ) { var id = _ . isString ( item ) || _ . isNumber ( <mask> ) ? item : null ; if ( id === null ) { if ( item instanceof Backbone . RelationalModel ) { id = item . id ; } else if ( _ . isObject ( item ) ) { id = item [ type . prototype . idAttribute ] ; } } // Make all falsy values `null` (except for 0, which could be an id.. see '/issues/179') if ( ! id && id !== 0 ) { id = null ; } return id ; }