Integrate named DOM sections mapped to a view selector

First stab at issue #296

At the moment the PR is kept out of date to allow me running working Unit test. I'll rebase on top of `wip` branch once it's fixed.