Corrected code which was causing stack overflow error:
Caused by: java.lang.StackOverflowError
 at java.util.regex.Pattern.compile(Pattern.java:834)
 at java.lang.String.replaceAll(String.java:1589)
 at org.openntf.arpa.NamePartsMap.getIDprefix(NamePartsMap.java:400)
 at org.openntf.arpa.NamePartsMap.put(NamePartsMap.java:375)
 at org.openntf.arpa.NamePartsMap.getIDprefix(NamePartsMap.java:419)
 at org.openntf.arpa.NamePartsMap.put(NamePartsMap.java:375)
 at org.openntf.arpa.NamePartsMap.getIDprefix(NamePartsMap.java:419)
 at org.openntf.arpa.NamePartsMap.put(NamePartsMap.java:375)
 at org.openntf.arpa.NamePartsMap.getIDprefix(NamePartsMap.java:419)
 at org.openntf.arpa.NamePartsMap.put(NamePartsMap.java:375)
 at org.openntf.arpa.NamePartsMap.getIDprefix(NamePartsMap.java:419)
 at org.openntf.arpa.NamePartsMap.put(NamePartsMap.java:375)
Created class to test getting Spawned Record IDs
Merge branch 'feature/BUGFIX_for_stackOverflow_exception_in_NamePartsMap' into develop