Attribute access DSL

By special request of @kenanb (also, it's neat).