The United Nations High Commissioner for Refugees works closely with all resettlement countries from around the world, including the large resettlement countries such as Canada, the United States, Australia, and others, for each population to develop indicators of vulnerability.
The indicators of vulnerability are based not only on the reason they fled their country, but also on whether they are vulnerable in their country of first asylum, whether they have necessary supports, whether they have family members to help them, or whether they are single women dealing with extreme vulnerability inside a refugee camp.
The indicators of vulnerability vary from population to population. Sometimes they are very individual and cannot be defined as groups, but they include things such as being a member of a religious minority, persecution due to sexual orientation, and vulnerability to violence in the place where they are now.
When the United Nations interviews refugees, they take note of all of these factors, and then from among the tragic situation in the country of first asylum, look at whether the individual should be a priority for resettlement to another country.