David, with so many different threads running in parallel I am confused about your Ann Smellie. This is my reply to your PM which I told you I would answer on the forum.
On 5 June you wrote
The information that i thought was correct is not. On my tree i entered Agnes Donaldson. Father James Donaldson, Mother Helen Ling. George Martin's farther Thomas Martin and mother Ann Smellie.
So can you please just confirm that you have looked at the original death certificate of George Martin and that it says that his mother was Ann Smellie?
This then leads to the baptism of George Martin, son of Thomas Martin and Ann Smellie, in Carstairs in 1799. Have you looked at the original of that record? Does it tell you anything else?
Then Monica found for you a transcription of a census listing of Anne Martin, aged 78, born Carstairs, in Carstairs in 1851, who looks like Anne Smellie or Martin, and who, if her age in the census is accurate, would have been born in 1772/1773. She matches the 1841 census listing in Carstairs of Ann Smellie, meat dealer, aged 69, though that age, if accurate, suggests that she was born in 1771/1772. (Don't try to think anything into the fact that if 1841 she was listed by her maiden surname. This is quite common, especially in the earliest censuses.)
I take it that you have looked on Scotland's People and found no baptism record for Ann Smellie or Martin, but that you did find the burial of Ann Smellie in Carstairs in 1852, aged 80.
From the index at SP, Thomas and Ann were married in 1790 and had seven recorded children
Mary, 1792
William, 1794
John, 1797
George, 1799
Margaret, 1803
James, 1805
Andrew, 1813
There are gaps between George and Margaret and between James and Andrew where there could have been one or more additional children. However Ann's second son and first daughter were John and Mary, so there is a reasonable chance that those were the names of Ann's parents. If George's baptism record listed the names of witnesses, you should look at all the others' baptisms and see if they provide any clues to the parentage of Thomas and Ann.
I note with interest that a John Smellie and Mary Anderson, married in Lanark in 1771, had eight recorded children, all baptised in Carstairs
Susanna, 1772
Barbry, 1774
Katharine, 1776
Margaret, 1779
Margaret, 1780
George, 1783
Janet, 1785
James, 1789
Getting into the realms of
speculation, I wonder whether Susanna coud be Ann? I have a well-documented case in my own tree of a woman who was sometimes listed in records as Susanna and in other records as Ann or Anna. Note also that Ann's younger sons' names match those of the younger sons of John and Mary.