Added a document filter to id field

The document filter only allows numbers to be written in the id field