Safer String to Integer conversion.

Accurate inference of number of characters in the string representation of the instance number. On finding a very large instance number, lazyloading will skip that section.