Use the demangled class names provided by dune-common to deduce the grid type and use it in error messages.