If you need to override how to create the filter you're doing something not supported/anticipated out of the box. If so you are likely to need full control over the creation of the filter,including configuration, as well as access to the attribute.