move OWLConcept outside for ease of Spark serialization
add hashCode
add null pointer checking
remove useless class field