Working at the hospital surrounded by white coats and scrubs makes an exciting environment. In fact, it was actually an inspiration when I was in Nursing school. Being in charge of a patient, in one's well pressed nursing scrubs - the feeling is quite amazing.
Scrub clothing is needed to help maintain sterility in restricted areas like the Operating Room. I remember being constantly reminded to either change clothes or use a lab coat over scrub pants when we go outside restricted areas, so when we return we don't bring dirt and dust from outside.
Far from just a "look", being in uniform embodies purpose and function.