Could the last be - in this parish??
Sorry Horsley, I was fiddling around with superscripts on the iPad (which takes some time), and noticed you had posted while I was fiddling.
Could N B M be North British Militia https://www.forces-war-records.co.uk/collections/142/scottish-militia