throw proper errors if predicates are used outside where clause

maybe its misleading to print the whole symbol including null argument... imho predicate name only would be fine here (this comment is more related to the analyzer where the exception is thrown) also related to other regression tests below.