DRY out
correctly retrieve the name from `@const` tags, with or without a type (#367)