nl_tokens: Find a specific model of a certain type in the store
pl_tokens: function ( type , <mask> ) { var id = this . resolveIdForItem ( type , item ) ; var coll = this . getCollection ( type ) ; // Because the found object could be of any of the type's superModel // types, only return it if it's actually of the type asked for. if ( coll ) { var obj = coll . get ( id ) ; if ( obj instanceof type ) { return obj ; } } return null ; }