Improve Util::getParamName()

When using a class that extends Elastica, guess the param name based on the Elastica class, not the child class.