def get_clusterid_for_cluster_mor(session, cluster_mor):
    """Return cluster id from cluster mor."""
    if cluster_mor:
        clusterid = cluster_mor.value
        return clusterid
    return None
