created case_insensitive accessor for expressions, documented case insensitivity, and fixed a latent bug