How Identity Shapes Your Habits