the quadIDs should just be equivalent to the 0 based index int that represents the order you added the quad/image after a reset(). So first added quad would have quadID = 0, 1, 2, etc...
If you know the order in which you added your quads or images to the batch it should be that 'order added' index.