How to scrape images and associate with source page

I'm using the free account for evaluation and am exporting to CSV.

Say I'm scraping a listing of 10,000 companies.

For each company I will get the logo and then zero or more images from their gallery.

I need to name the logo image in a way that I know it's the image to use as the logo, such as "logo_somename.jpg"

I cannot name the images using he company name because its possible there will be more than one company using the same name.

In the test scrape I just did the CSV file's first column is "web-scraper-order". Is this guaranteed to be a unique ID for that row? If so, then I can give this value a suffix for the image names such as:

1604008260-87_logo.jpg
1604008260-87_1.png
1604008260-87_2.jpg
etc.

How can I do this, or what is the best practice for this type of problem?
Thank you.

This can be done with post-processing and it is a relatively trivial problem which even novice programmers or 1st-year CS students can solve. Basically text processing. My question is, what are you going to do with the renamed filenames? WS does not actually download images, so if you just rename them in the CSV, what is the purpose?

I know images cannot be saved in the csv file so I assumed there is a way to download them. Other tools can download them all to a single folder, or a folder for each page scraped.

I assumed it could download the files to a single folder all with a unique name and a naming convention that I could later associate with the page scraped. I can write a console app to do this part myself. So what is the "best practice" for downloading/scraping images?
Thank you