parent folder as pattern input data?

I'm wondering if the name of a file's parent folder might be used to create patterns for renaming or moving files. I realize this seems silly since if a file is already in a directory of a certain name, why do I need to move it to a directory of that name?
The reason is that I'm trying to figure out some way of specifying an arbitrary string on a file to be used for sorting it and I can't think of a better way than using the name of a parent folder. To give an example, I'd like to sort my folders by:
year > month > creator's name
I was thinking that I would have Hazel monitor a folder full of empty folders with different names of creators. I would drop some files into one of these folders, and Hazel would move them to a different folder entirely (where the files are actually kept) and sort them down by year, month, and the enclosing folder name (which it's about to be moved out of).
Incidentally, it would also be nice to allow the OpenMeta action to use patterns such that I could add the creator's name as an OpenMeta tag as well. (Or conversely, I suppose if you allowed OpenMeta tags to be used in patterns, then I could change this whole scheme.... hm)
The reason is that I'm trying to figure out some way of specifying an arbitrary string on a file to be used for sorting it and I can't think of a better way than using the name of a parent folder. To give an example, I'd like to sort my folders by:
year > month > creator's name
I was thinking that I would have Hazel monitor a folder full of empty folders with different names of creators. I would drop some files into one of these folders, and Hazel would move them to a different folder entirely (where the files are actually kept) and sort them down by year, month, and the enclosing folder name (which it's about to be moved out of).
Incidentally, it would also be nice to allow the OpenMeta action to use patterns such that I could add the creator's name as an OpenMeta tag as well. (Or conversely, I suppose if you allowed OpenMeta tags to be used in patterns, then I could change this whole scheme.... hm)