Make sure document has identifier when POST:ing.