Warn when using `reference` as an attribute name

It would be much better to use `_reference`, I'll see if I can work that out and add another commit.