Active Mode Identification Of Switching Systems