'A list of price region ids sorted by name.
:param int provider: A provider, using the PAYMENT_* constant.
If not provided it will use settings.PAYMENT_PROVIDERS,'

def region_ids_by_name(self, provider=None):

    return [region.id for region in self.regions_by_name(provider=provider)]
