move allocateIds to request & generate docs.

A note to myself for tomorrow... should write this to handle multiple mixins.