<?php 

$vars['attributes_array']['id'] = str_replace('_', '-',$vars['region']);