categorisation: add method for getting parrent class name