nl_tokens: Obtain template name from data allowing for nested attributes
pl_tokens: function getTemplateName ( data ) { for ( var i = 0 ; i < templateAttribute . <mask> ; ++ i ) { if ( ! data ) return null ; data = data [ templateAttribute [ i ] ] ; } return data ; }