roll back to_s fix, don't use generator if type is not suported for DB
refactor error classes to comply with Ruby Style Guide
use StringRange generator as default
Merge pull request #7 from equivalent/public_uid_sring