convert the function name to use with task names