Allow the script filters to modify the doc ID 

Simple change to allow the script filters to modify the document ID