@staticmethod
def _get_model_id(model):
    """
        Returns the model id (name, version).

        Parameters
        ----------
        model: an instance of PAL or APL model.

        Returns
        -------
        A tuple of two elements (name, version).
        """
    name = getattr(model, 'name', None)
    version = getattr(model, 'version', None)
    return name, version
