In a pinch, a Sharpie works
Time doesn't always allow me to custom label the patch cords. But keeping a marker in my pocket guarantees the cable is labeled at both ends. I usually write at the end of the cable, then holding the end, slide the cable down to my elbow and labeling it again. Down the road, I can still ID a cable I'm troubleshooting or moving.