chore(doc-gen): fix error-doc processor

The meta-data should be parsed from the name not the id.