Mhairi is the vocative case and Gaelic speaking Scots would not put it on a girl's birth certificate. Her name would be MÃ iri, with Mhairi used in certain sentences to be gramatically correct. Nonetheless, non-Gaelic-speaking Scots have adopted Mhairi as a 'different', more modern version of Mary and it's now widely used.