Text this: Partnership and profit in medieval Islam