Support for virtual attributes.

Allowing to use `memberOf` to perform searches with groups.

/cc @mtodd, @sbryant.