if you make this 

    $this->inc('elements/header.php', array('themeBoldyBodyId' => $themeBoldyBodyId));

then it will pass the var without using globals.