add hasFoo() methods to GenericLocation for convenience.
Rename renumberVerticesAndEdges since this is no longer what it does.