New identify_variables() code function and tests

New identify_variables() function in parser.code module.

Add accompanying test functions for identify_variables().

Handling of multi-line expressions to follow.

Rename headers for parser module files slightly.