Use the symbol name for functions.

This lets us be sure that the names are unique and it matches
how things had worked previously.