Add enum namespacing to the Guide.

Closes #19556.