From Market Shares to Consumer Types: Duality in Differentiated