Retrieves ids from a PlSet.