A numeric id has less meaning than a string. I can also see how you've got to the position you're in.
```
show/settings/:settingName showSetting(settingName)
```
Isn't any better because then your function would be:
```
function showSetting(settingName) {
  switch(settingName){
    case 'x':
      MM.settings.showSpaceUsage();
      break;
    case 'y':
      MM.settings.doSomethingElse();
      break;
  }
}
```
I think the approach you've taken is the better one for the time being.

Are you happy for it to be merged in? Or do you want to go for the above solution instead?