make attr getters/setters case insensitive (#1962)