Attributes via new `&attributes` syntax

Use `&attributes` to replace the `attributes` magic key.

[closes #1294]