escape the metric name and then unescape it before we use it in calculat...

...ions