The position and role of the ecclesiastical bailie in late fifteenth and early sixteenth century Scotland