IdCode parser implementation. Solve part of #51