I can configure Drupal so that it shows certain menus on pages that are "(section)*" and then on all pages whose URL are like "section/1" etc all show the menu.

This is really nice, but now I want to know how it processes the URL because on all pages that are "section/*" I want the body class to include "section" ......

Is this possible?