nl_tokens: Builds a URL for a given type and optional ID .
pl_tokens: function ( type , id ) { var url = [ ] , host = get ( this , 'host' ) , prefix = this . urlPrefix ( ) ; if ( type ) { url . push ( this . pathForType ( type ) ) ; } if ( id ) { url . push ( id ) ; } if ( prefix ) { url . unshift ( prefix ) ; } url = <mask> . join ( '/' ) ; if ( ! host && url ) { url = '/' + url ; } return url ; }