title: MEL: Traverse through hierarchy
body: <p>I'm writing a MEL script that will rename all of the joints in a joint hierarchy to a known format. The idea is that you would select the Hip joint and the script would rename the Hips, and go through every other joint and rename it based on its position in the hierarchy.</p>
  
  <p>How can you traverse through a joint hierarchy in MEL?</p>