implement FetchAgencyIdsByBaseIdent and FetchLicensesByAgencyId