I think the `__method__` magic variable might fit here.