The IID is based on the currently picked objects. If you have 5 sprites their IIDs are 0,1,2,3,4. If you pick any 2 of them, the picked ones IIDs will be 0 and 1.
pickIID.capx
*edit* the IIDs aren't based on the picked objects but 'pick nth instance' picks from the currently selected objects.