relay-parser: add initial name parsing support