helper to get current function name