o Code simplification and refactoring (shell scripts): - Cleanup test_switch_id.sh to silence shellcheck warnings. Closes ticket 29065.