Fix an issue when HTTP client returns nil for inserted object

Setting the `af_resourceIdentifier` property is required for the inserted object to obtain a permanent ID.