Add getters for support of vertex/edge ids.