An HTML snippet is identified by the region ID. For instance the region ID of:
<!-- cut:pizza -->
<pizza>
<olive />
</pizza>
<!-- /cut:pizza -->
is: "pizza" To obtain the ID of our pizza:
$se = new StampTE($templateHTML);
echo $se->get('pizza')->getID(); //outputs 'pizza'