Drupal's menu system is highly robust and really customizable through the GUI. One common complaint is that it doesn't highlight parent menu items when one of their children is selected, but this can be solved using Chapter Three's Menutrails module.
However, what if you want more custom control over your menu highlighting? One customer of mine wanted menus on some pages highlighted depending on the path. Good gravy, how do we do that? Here's one way.