Basic mechanisms of preference formation