Function globals debug funcname
According to the Nasal design doc funtions do not have unique internal names. Nevertheless you can sometimes find a matching symbol, so funcname may help to make debug output more helpful, but unfortunately you cannot rely on it.