Fix id specification for GEXF writer edges

The GEXF writer failed to take into account user specified node ids.