allow FUNC(...)[...] and FUNC(...).attr in AQL