My question is essentially the same as yeoman-generator issue #312, which is resolved there by the addition of a parameter storage API using the file .yo-rc.json.
A file based store is necessary because yeoman subgenerators can be called independently from 'yo' as well as via the main generator. The hookFor solution can only work from the main generator.