Optimize conditions in parse_tag
Initialize ivar in the initializer