I'm astonished that so many people are mentioning vectors. You say "Pan-pan, pan-pan, pan-pan. I have multiple instrument failure, request a no-compass, no-gyro recovery for SRA"
That gets you identified, an appropriate radar service and "adopt the standard no-compass, no-gyro procedure; all turns rate one, starting and stopping on the executive word
now"
You fly the plane, ATC do the work.