Set a function's name property