"Madainn mhath, a Sheumais."
Translation:Good morning, James.
This is what wikipedia says: Hamish is a masculine given name in English and occasionally a nickname. It is the Anglicised form of the vocative case of the Scottish Gaelic Seumas: Sheumais. The Scottish Gaelic Seumas is the equivalent to the English James.
So you may still be right.
That article is exactly right. My father's given name was James, but as his family was originally Gaelic-speaking he was always known as Seumas, and addressed as a Sheumais. When he settled in the Lowlands, married to my mother who came from a Scots-speaking family, he was always known as Hamish, in English.
I think what Joanne was saying was that when they ask for an answer in English they want James to be typed and not Hamish, even though in practice someone baptised James would often be addressed as Hamish in English, in certain parts of Scotland.