use the same identifier when locking the sets

otherwise, the locks don't block each other
lock on [QSObject class] when accessing loaded sets
Merge pull request #1984 from quicksilver/setlocks

small adjustment