Properly report the name of functions added with 'add_known_function'

This is a modified version of a patch submitted by Adam Moss.