Add support for :unique_bnodes to writer.