A DiagnosticCode is a unique identifier that the compiler can associate with a diagnostic. This
is useful for tools to be able to quickly identify what diagnostic is being reported without
having to rely on parsing the actual diagnostic message, which might not be stable.