generate identifier for all function literals
do not generate code for template instances that have a parent with an error