Implement matching algorithm. Fix empty ref elements. Tokenize using , . Process aka in other names. Pull the word style <-> style attribute mapping into a separate function.