code: protected function getLabelParametersWithAttributeAndUrlParam(
          EnvironmentInterface $environment,
          ModelInterface $model
      ) {
          $translator = $environment->getTranslator();
          $metamodel  = $this->getMetaModel($model);
          $attribute  = $metamodel->getAttributeById($model->getProperty('attr_id'));
  
          if ($attribute) {
              $attributeName = $attribute->getColName();
          } else {
              $attributeName = $model->getProperty('attr_id');
          }
  
          return array(
                  $this->getLabelImage($model),
                  $this->getLabelText($translator, $model),
                  $this->getLabelComment($model, $translator),
                  $attributeName,
                  ($model->getProperty('urlparam') ? $model->getProperty('urlparam') : $attributeName)
              );
      }
docs: Retrieve the parameters for the label with attribute name and url parameter.
  
  @param EnvironmentInterface $environment The translator in use.
  @param ModelInterface       $model       The model.
  
  @return array