If you can use NetworkX (Python) you can read the file (t.gml is your file) like this and get the mapping
In [1]: import networkx as nx
In [2]: G = nx.read_gml('t.gml')
In [3]: G.node
Out[3]:
{0: {'id': 0, 'label': u'24'},
1: {'id': 1, 'label': u'25'},
2: {'id': 2, 'label': u'26'},
3: {'id': 3, 'label': u'27'},
4: {'id': 4, 'label': u'20'},
5: {'id': 5, 'label': u'21'}}
e.g.
In [4]: G.node[0]['label']
Out[4]: u'24'