Split interpret() into sub functions for arrays and identifiers.