Allow access to the name of a code for template analysis.

This simple enhancement allows more analysis of the variables inside of a template. Especially when you are interested in finding out which template variables are used or paths that will be resolved.