Text this: Comparing Ibn Khaldun and the new institutional economics