The Scottish Military Research Group has the following information,
The D&G Standard 19/5/1917 p.5 reported that his mother Mrs. Johnstone had been told of William's death and that her other son George of the Australians had been wounded. I have identified the family from George's service record at the National Archives of Australia.
William Irving � age 26 � Lance Corporal (S/3619) 1st Battalion, Gordon Highlanders.
William served his apprenticeship as a grocer in Annan and joined his battalion in France in April 1915. He was promoted to Lance Corporal in January 1916.
Born 1890 in North Street, Annan as William Beattie Dalrymple. Son of William Beattie and of Mary Ann Dalrymple of Ecclefechan, Dumfriesshire.
It goes on to say that he is named as William Dalrymple on each of the 1891-1901-1911 census records.
This link should take you to the site....
http://warmemscot.s4.bizhat.com/warmemscot-ftopic112-0-asc-75.htmlMatt