Rather than specify UUID or LONG use ANY to enable String IDs with TinkerGraph.
The possible values are defined in this file: https://tinkerpop.apache.org/javadocs/current/full/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraph.DefaultIdManager.html
CLICK HERE to find out more related problems solutions.