Why even the royals have to wear name tags at Royal Ascot

Royal Ascot is known for its strict dress code — in the royal enclosure, ladies' shoulders need to be covered, hats are a must, and royals are often required to wear a name tag.