Add lutil.parseProfileId and tests for it