Human Behavior, Legal Doctrine and Policy Design