Text this: Institutions and the parh to the modern economy lessons from medieval trade