Refined fieldset tpl name generation.

Removing all the non \d\w chars.