Maintain name counters for scales and mark naming