Refs #3312 - Fix webform file_ids

- autodetect file_id, based on the presence of the form in webq
- autodetect free ids for file_id
- update script for current file_ids