fixed code that generates textId

changed from 8 to 7 digits
Merge pull request #129 from BobFleischman/master

fixed code that generates TextId and ParaId