Fix id specification for GEXF writer edges

The GEXF writer failed to take into account user specified node ids.

Addresses bug discussed in #842