Fix variable name sniff flagging trait properties.

Trait properties should not be flagged as failures when they follow the
rules.