Make all tables update trainer/pokemon ID when necessary.