Add docIdentifier to identify doc in the store
Minor formatting