The question throws up an interesting dilemma regarding military etiquette. Given the apparent sensitivities attached to gender titles, how does one know whether to address a person wearing a skirt and ostensibly female as 'Madam' or 'Ma'am' and a hairy looking bloke obviously male as 'Sir' or, perhaps Madam ?
Sensitive people might take umbrage and allege 'hate crime'. Should we adopt some other form of neutral salutation that takes account of these rather delicate sexual nuances ?