Generates the location id, used by deterministicLocationIdGenerator.
the node to generate an id for, must have location information
Generates the location id, used by deterministicLocationIdGenerator.