Need to convert many surfaces to individual layers based on surface name

Good day all,

I have a large file that contains close to 1000 surfaces all that have individual name properties. I need to convert these to individual layers for sorting and combining later down my design process. Does anyone know of a script that can move or duplicate surfaces based on layer name to a new layer of the same name?

I have “some”, not a lot, but “some” experience scripting outside of rhino, but do not know where to begin.

Any help would be appreciated!

Cheers,

dsuhay