Performance: do not string compare component refs
Performance: do not string compare component refs

We keep the hashability of ComponentRef intact by defining a helper
function outside of all classes.

jgoppert/pymola,jgoppert/pymola