An analytical inquiry into the principles of taste