To Infinity and Beyond: A General Framework for Scaling Economic Theories