Remove all the different methods to format a metric uid into a string an...

...d replace with the new UidFormatter