made some changes to getUniqueSchemeID().