allow setting dom_id and dom_class via a switch