And following on Localiser Green..........
Like a lot of things in aviation today, pilots uniforms and their markings are derived from what the mercantile marine wears, with the rank titles suitably modified. The captain remains as such but the First Mate becomes a Senior First Officer etc.
Up until a few years ago most of the navigation exams sat by pilots in the UK were actually set by retired Master Mariners rather than aviators!