Correct comparison of public id returned from HSS