In "BlackHawk Down", it said the Rangers in Mogadishu practiced firing at targets with geometric shapes on them.  They were supposed to fire at a certain shape, and not fire at another shape.  This exercise helped them to determine whether a Somali was friend or foe during combat very quickly (by building neurogical pathways in their brains that made them identify before they fired).