How did soldiers (knights etc) in the Medieval Ages distinguish between their allies and their enemies on the battlefield (besides flags and banners)?

by InternetMadeMe

In movies they always have red vs blue uniformed knights (or something similar) and from what I understand this was not accurate at all for the time period. Since the feudal system had knights from different areas who often supplied their own equipment and often dressed differently from each other, how were they able to tell each other apart during a battle? I know they used banners and flags, but I imagine this wouldn't be practical to hold onto while fighting. Was it very easy to distinguish your allies from your enemies during a large and bloody fight before uniforms became the norm?

DanKensington

More can always be said on the matter of medieval combat identification; for the meantime, as this crops up fairly frequently, I commend to your attention these following previous posts: