Scottish economist, philosopher and author of The Wealth of Nations (1776), defined the workings of market economies and defended principles of liberty.