Manuel Pellegrini, who brought Raheem Sterling to Manchester City three years ago, says the player has shown his maturity following the alleged racist abuse incident on Saturday.