If I needed to do something like that I would build my scene the usual way and when that point of complexity is reached I'd just use a filter on the OM to filter out cameras/objects/lights etc and just grab the results and put them in respective layers.