Added a feature to take the stylesheet names into account when generating the output name
Fixed a bug where the same cache identifier would be used for all output names