Add class name to every element.

This fix is provided by Bauer and adds the placeholder as a class for every element to enable fields to be easily identified by js.

Added as a class rather than an id to handle repeating fields.