If middle names appear which don't seem to be names of close relatives, a good thing to do is look at the nearest census for the area and check for neighbours, employers etc. who might fit. The minister was a frequent source as was the schoolmaster (who was usually the session clerk too).