Added range and pattern validation as well as range and pattern setting in tags.
Refactored OffsetTypes() static method to use a static array.
Refactored structure parse in PersistentObject to include range and pattern info in tags.