Made label text for camel case or dash separated field names format nicely.
Renaming variables.
Merge pull request #89 from timjrobinson/label-text

Made label text for camel case or dash separated field names format nicely