Escape function names so setting callbacks from the inside of the function doesn't set it to the alleged wrapped function.