- improve checking of category ids
- provide quoting for page name in generated adp files