Class converter from structure panel

Would be super cool to be able to convert the names from structure panel into classes. Here is an example of how microthemere has it - https://youtu.be/V2iXB29za-M?t=88