pages: add support for assocating tags with page objects