...I'll see if my 4K Samsung TV identifies the cable.
TVs will not do this.
Either video will pass, or it will not. To test the bandwidth capability of a HDMI cable, you actually need a HDMI cable tester, which isn't a cheap product.
Cables themselves are passive (typically) pieces of copper wiring. So, they can't identify themselves for anything. They just pass signal through them. Once the signal takes up to much bandwidth, the signal doesn't make it to the end point properly and you will lose the image.
Newer cables are almost all rated to 18Gb/s transmission rates, which is the standard for HDMI 2.0. Some of the newest are rated beyond 18Gb/s and may go to 48Gb/s which is the standard for HDMI 2.1.
If you are at 6' or less on HDMI cables, you can get HDMI 2.0 rated 18Gb/s cables for well under 10 bucks each from Monoprice and on Amazon. Get a slim cable, call it a day, enjoy.