Moral imperatives, social conventions, and matters of personal choice

What experiences help children differentiate moral imperatives, social conventions, and matters of personal choice?