I have such a weird take on this, due to being in the military for so long. We absolutely do refer to one another as "males" and "females".
Ie. "There was a female SSgt that was really helpful in customer service" or "I had to remind a male Soldier to put on his cover when he left the building" or "I had a female troop once".
However, I try really hard when I'm speaking to a non-military member to switch up my phrasing. Sometimes I still slip up, and I gotta be like "shit, sorry, I mean that woman cashier over there" or whatever it is that I'm talking about.
I will say though, I do distinctly remember having that conversation during basic training, and fucking hating being referred to as "female" in the beginning, and that thought being shared amongst my flightmates. I can still hear the TIs shouting from across the parking lot: "GET OVER HERE RIGHT NOW, FE-MALE!" Ugh.
It was just 16 years ago now, so "female" has become normalized.
I just made a comment about this too! The "male" and "female" vernacular is alive and well in the US military as well!