Much of the success of the Roman Empire is attributed to how the Romans fought their battles. Rather than solely conquer their enemies, they would form relationships with them. From these relationships, the Romans were able to acquire troops from neighbouring towns and expand their army.
The characters in A Few Good Men are members of the US military. Their uniforms symbolize their investment in the military as an institution, allowing them to visibly indicate their pride at representing the Marines or the Navy.