In the 1901 Census James Bain, 18, is living as a boarder, at 133, Commercial Street, Dysart, Fife.  He is a linoleum worker.

In the1891 Census there are the following details

David Street, Alyth, Perthshire

James Bain, head, 33, mason, b. Dundee, Forfarshire

Jane Bain, wife, 33, jute weaver, b. Alyth

James Bain, son, 7, scholar, b. Alyth

William Bain, son, 2, b. Alyth

He was a Colour-Sergeant in the Royal Engineers, but is not listed on the CWGC site.

According to the database UK Soldiers Died in the Great War James was born in Nigg, Aberdenshire, and living in Alyth when he died on the 12th April 1918.  He died of wounds.  His rank was SPR, in the Corps of Royal Engineers, number 149123.  Under Comments it says - No. 5 Army Wireless Obs. Group N0.1, R.E.