Arma is about realism, in real life you see someone in the distance and have to confirm its an enemy or friendly before firing.
A good way to be able to tell a difference is by looking at the type of weapon and gear they are wearing and also by checking your map.