Actually the _templateId is just what I need. The filename is not so important. The use case is that we have created a fair number of custom templates to implement a service layer repository pattern.
Sometimes its just hard to find the template that needs tweaking because there are so many generated classes and projects. I'm always looking at the generated code and having to go back to the preset tasks to see what the templateId is and then finding it in the Template Bindings.
By outputing this to the generated files as a comment makes it easy to find the template in the template binding tab. As the templates become established, changes will be less frequent and the comments will be a useful reminder.
It is a convenience only and by no means a feature request candidate Thank you.