How did people differentiate friend from foe in a melee before uniforms and such? Once the battle is joined, and everyone is covered in blood, mud, and sweat (and in cases of civil wars, speaks the same tounge), how do you sort out who to strike at and who not to strike at once the lines break?