Fixed a bug in .unique.string()
Added relevel method for changing ref level in factor
Use less characters in unique.string to avoid trucation of name
Minor change to unique.string functions
Moved dim measurement into dim and cache the result