The $__FUNCTION__ variable contains the name of the current Vortex function. Added in version 6.
$__FUNCTION__