Words near ID management in the dictionary