db: move get_param_name() to central location