chg: make public the function to convert a protocol stack into a name