allow defining document's id as string