The medieval church in Scotland : its constitution, organisation and law