Lists the query category IDs .
(ade_qllistctgy)
Returns a list of category IDs, or if there are no categories, nil.
To find the ID of a category if its name is known, use ade_qllistctgy to get a list of category IDs, and then use ade_qlgetctgyinfo on each ID in turn until you find the ID associated with the name.