Analyser: some minor refactoring.
Analyser: some minor refactoring.

cellml/libcellml,hsorby/libcellml,hsorby/libcellml,nickerso/libcellml,cellml/libcellml,hsorby/libcellml,cellml/libcellml,nickerso/libcellml,hsorby/libcellml,cellml/libcellml,nickerso/libcellml,nickerso/libcellml