That's actually one of the goals of thunderbolt. With thunderbolt you can be assured of certain capabilities whereas usb-c is increasingly the Wild West.
>but how do you distinguish a Thunderbolt-compliant cable from a very basic USB-C cable?
The picture on the end of the cable - it will contain a picture of a lightning bolt, and a number indicating which version of thunderbolt the cable supports: