Pass switch to identifyType to allow a switch to override the connection type