add a document ID attribute clas