Linearization through symmetries for discrete equations