def get_spec_id(spec):
    """Get a quasi identifier for the spec, with the name, version, hash, spackmon id"""
    return "%s@%s/%s:%s" % (
        spec["name"],
        spec["version"],
        spec["full_hash"],
        spec["id"],
    )