check type of tabID in switchTab command - refs #155