Do you own fins? Initials top and bottom help a lot. A *Lot*.
If you rent everything, that can be a problem. Not only do many companies rent the same looking gear to multiple people, but you’re not familiar with how it looks anyway.
Unique gloves can be an easy way to travel light and still see the difference. Bright yellow is easy to spot, even at depth. Avoid blue: those are very common. And rarely do people rent gloves!
How about striped leggings?
The tank strobe idea isn’t a bad one. I’m not a fan of the entanglement hazard. Arguably, if you are asking this question, you are not qualified to be anywhere near an entanglement… But I still worry.
In the end, even in a rental situation, you should be able to find some unique combination to identify your buddy. The problem I have had at times is, what I thought was unique on the surface didn’t end up being so once we got to depth. So try to figure out more than one way that your buddy is unique.
I will kind of back up what other people said: if you are diving effectively, it should be easy to keep track of your buddy. And you want to avoid that big ball of divers as much as possible: they frighten everything away and ruin the viz!
But I remember the days as an early diver and looking up and having no idea where my buddy is. Or even worse, thinking someone was my body and only after several minutes realizing that it wasn’t. So I understand the need for some extra assistance. I would just caution you: that should be considered backup for only if the worst happens. It’s a slight crutch that you might need to use as a beginning diver, but your goal should be to get good enough to not need it, rather than try to come up with some foolproof way to avoid improving to that level.