rejiggered items query to perhaps allow taggingdocs to be queried that way too later by replacing stags and pinpostables appropriately.