nested_in function

Specify the nesting or conditional structure for units or treatments