GEOS-5618: throw exception when functions are used in idExpression with app-schema joining.