[299] Let attribute names include "and" / "or"

This is my attempt at fixing #299. It works, but likely doesn't cover all scenarios.

The `/_and_|_or_/` style logic exists all over the place; for example I know the translation code is still broken in the context of #299. Maybe it'd be better to extract the attribute splitting logic out to a single method that all code would use.