Allow to use domain_* with Function field
The documentation states that 'domain_*' method will be used instead of the default behaviour. But this is not true for Function field.
There are cases where it is better to use an full SQL instead of a domain (even with id in <sql>). Also it is better to not have exception to the rule.