Introduced unit parameter for number and text fields. This commit fulfills requests at issue #119. Documentation to follow, and may be further enhanced in the future.