update text ID to be only unique inside a corpus (not globally)