Fix invalid element IDs and add classes to checkout forms.