set id also as string and return only simple name for class