Extracts the name of the outer function. Useful to get the name of a function reference using fn.toString().