Is a potential solution to the string problem here to have layout_box override __getattr__ for 'left', 'right', etc. to return layout_box.primitive('left'), etc. so we can say:

    container.layout_box.left == one.layout_box.left

Not perfect, but it could be refined further, and would allow layout helpers to be added more easily.