James Dornan, whose constituency includes Hampden Park, formally congratulated Scotland's oldest football club following their shock win at Ibrox.