Section with `length` property

When a section is named `length`, it breaks if it has a String value, as the `lookup` function traverses the context, and erroneously finds a `length` property on the String.

The fix restricts `lookup` to only traverse objects (and arrays) for the requested property.