Self-analysis of repeat proteins reveals evolutionarily conserved patterns