Text this: Law and long-term economic change