This function name should be consistent with what you are actually accessing, i.e. `Element::getValue()`, not `getMaterialID()`.