Escape relationship names
Cleaner way to check chain levels
Test for three level association chaining