This is really useful - cheers! If you want a little more control over the resulting CSS class you could use the 'alias' value instead. This way you can avoid any unwanted spaces in your CSS class, if you have them in your extra field name.
More