Tie the class attribute in xhtml and selectors in css

* Ensures the same code is used in both the css and xhtml
  export.
* Add the ability to override the FieldDescription if
  necessary.

Change-Id: I00ed889528b45106ab50730832f919b917aa876c