dot-extract_function_name function

Extract base function name