Internal: expose the indices names every action relates to if applicable

If a request relates to indices, expose which ones it relates to in a generic manner.
maybe an `assert` here instead? The API shouldn't give an option to put invalid requests into the bulk. If it does, we have to fix it somewhere else.