Revert "Make id partitioning for string similar to integer"

This reverts commit 068022541786e8c06caa15f864cdd0ab0569b2f7.