Then you have to consider that the birth date on the profile is incorrect -- and understand that a 12 year difference is nothing. I have ancestors who age 2 years in between census records, or 24 years in another 10 year stretch.
If you are sure that the Ayr death is your person, then you have to work to find the correct baptism record - which isn't going to be the one in 1852 in Barony if she demonstrably has the wrong parents.
Age didn't mean the same thing to our ancestors as it does to us. Someone may have been born the second full moon after the big fire, or the flood, or the wheat harvest. Those things didn't necessarily have dates we could take to the bank. Similarly for a census, it might depend on who was giving the answers. Information on a death record relies on the knowledge of the informant, who may not know the decedent very well, or even at all. You may have to buy a few certificates to follow the paper trail. Scotland's People credits are fairly priced, and you get to download the pdf once paid for, plus it stays on your SP account in case you lose the original data (eg change of computer).