WIP: Attribute expressions

closes #659