How do I alternately
1. add a meta robots tag to the header of a specific WordPress Page - not a Post
2. assign a Page to a specific Category (already scripted to accomplish that)
without using a plugin.
Yes, I'm already familiar with Joost de Valk's and others' plugins. I'm trying to move as many functions as I can to my own control in header.php, functions.php, etc.
I can already add meta tags to certain classes of WordPress pages - e.g., author, date, search, category, tag - but I don't want to meta tag all Pages I may create within WP as a class, just select ones.
If I could add a Page to a Category as I can a Post, I could already do so, but that seems impossible within WordPress. Searching here has revealed nothing and searching online to approach the problem from either angle has only returned bowls of word association spaghetti.
I concede this may be impossible, but if not, thanks for any help.