[2] His father was John Frazer, minister of the Associate Church at Auchtermuchty, in Fife, Scotland; his mother was Margaret Erskine.He became minister of the Associate Church at Saltcoats in Ayrshire, in 1796, but within months inherited an estate through his mother, at Lassodie, Beath, in the Fife coalfield.[9] He was a Manchester Infirmary staff physician, from 1804 to 1808, a common step for Edinburgh medical graduates because of the breadth of professional experience there.[14][15] In 1819 he was elected a member of the Wernerian Natural History Society alongside the botanist James Robinson Scott and Robert Kaye Greville.[17] The house stood immediately opposite Surgeons' Hall but was demolished in the late 19th century to make way for a small department store.[23][24] Dewar wrote an early paper on what was then called "double consciousness", now diagnostically identified with dissociative identity disorder.