Aliased name of a Function in Python
===

I want to find the name of the function as it was called ... i.e. the name of the variable that called the function. Using the basic recipes i.e. with __name__, func_name, or inspecting the basic stack does not work for me. For example

    def somefunc():
        print "My name is: %s" % inspect.stack()[1][3]
    
    a = somefunc
    a()
    # would output: out: "My name is: somefunc"
    # whereas I want it to output: "My name is: a"

My gut says I can do this, but I can't figure it out. Any python guru's out there?