Resolve the collection name.