OK, to answer my own question:
http://magazine.joomla.org/component/k2/item/346
Place this above <html> in template index.php file:
<?php
// Detecting Active Variables
$option = JRequest::getCmd('option', '');
$view = JRequest::getCmd('view', '');
$layout = JRequest::getCmd('layout', '');
$task = JRequest::getCmd('task', '');
$itemid = JRequest::getCmd('Itemid', '');
?>
Modify your body tag to look something like this:
<body id="<?php echo $option . " " . $view . " " . $layout . " " .
$task . " itemid-" . $itemid;?>" <?php echo $gantry-
>displayBodyTag(); ?> >
I'm using only the $layout part. Now if you can add this back to
Gantry I think it would be very useful.