robust document ID lookup; modification time set with ISO formatting