Issue 9620 - Error messages of failed pure enforcement

Print name of failing function, not enclosing function.

https://d.puremagic.com/issues/show_bug.cgi?id=9620