Yes, I think this sounds reasonable. Or maybe carrying around a dictionary or namespacing as you suggested. But between lms and cms, most of these values seem to be the same anyway.