get provider id method