Allow for non unique titles
Why need titles to be unique? If multiple panos exist at the same place with the same subject, then it should be possible to have the same name. It is of no interest to the viewer to qualify a title in whatever form. A title should describe place and what is to be seen, nothing else.
E.g. I have panos on the same square, but in different positions.
Of course url needs to be unique.
If you have several panoramas created on the same square but in different positions, you can add to your title a short description saying where the image was taken.