How did soldiers know who to strike in melee during battles in the Middle Ages?

by MadLazaris

Did the equipment of the average soldier in the Middle Ages bear recognizable marks that allowed fighters to know who was the enemy during melees?

I assume that the distinction was pretty easy in the case of major cultural differences (e.g. during the battle of Toulouse in 721 between the Duchy of Aquitaine and the Umayyad Caliphate), but how about battles between duchies of the same "region", or during civil wars?

tenninjas242

Not to discourage further discussion, but u/Henry_V_Rex answered this question two months ago, and hilariously in-character for the Day of the Dead event.

https://www.reddit.com/r/AskHistorians/comments/dq8ysm/in_the_melee_of_a_medieval_battle_how_could_you/