added additional helper method to GraphDefinedDomain domain generator
class. The added method spits back the int identifier of the graph node
for a given input state.