Is it for getting the name of a pymc variable? Maybe it is get_var_name in version 3.11.4
get_var_name