I think it would be a good idea to sort this out now, especially since it will be needed by #2136. Also, since the compiler treats creating resources with duplicated titles as an error, this seems like the right thing to do.

An incrementing class variable should do the trick nicely.