Change the format of ids containing index from [x] to _x