I can't take credit for this solution, but I can't find the site where I
found the solution again either...I'll post the basic steps for you here
though. Though I tried to use the timestamp in my filename originally, I
found that every time I submitted the form, it created a new version (because
of the timestamp in the filename). If you aren't submitting your form or
only saving it then the timestamp should be fine.
1) Create a Data Connection that Recieves data from the SharePoint list
you're submitting to. You might call it <YOUR_LIST_NAME>_IDs . The only
field you need to select is the ID field.
2) In your form, create a field (I used a text box) that has a Default Value
of 'max(@ID) + 1' where @ID is the ID field from <YOUR_LIST_NAME>_IDs .
3) In your Submit Data Connection make the filename include the ID from the
field you created in step 2.
There is a resource out there that gives more detail, but this should set
you in the right direction.