Text this: Craft guilds in the pre-modern economy