private static long codeToId(final String expectedPraefix, final String code) {
        return codeToId(expectedPraefix, code, false);
    }
Converts logId to LogCode. For invalid id's, empty string will be returned (never null)
main/src/main/java/cgeo/geocaching/connector/gc/GCUtils.java