Added a generic subroutine that tests a string for equality with a variable name
Added RMCprofile import.
Ensured that the connectivity name cannot be equal to a variable name