adding makeDocID method, with test and docs