The documentation says the "location" is the first primary label. It would be helpful for programmatic consumption of the diagnostics if there was a method that exposed that. For instance, it would make it easier to show just diagnostics for a specific "location" by filtering out other locations.