Identification of friend or foe