From top hats to bowlers, and bonnets to flat caps, the hat has long been a staple of British style.