Evolutionary plasticity and functional versatility of CRISPR systems