In swift using Firebase, with:
let ref = dbLocations.collection("Data").document()
ref.setData(data)
Data added with a document Id like 40rprS6NshDHhZiI8YxJ
how can I generate an ID as "location1" "location2" or something but with the guarantee the is a unique one on the database?