Added SingleSelector class.
Added 'getId' method to PWItem.