Make metricID a typed int

Makes it easier to experiment with smaller integer sizes