do not emit function literal that are never referenced by an expression
generate identifier for all function literals
do not generate code for template instances that have a parent with an error