It works for me with CS6( 13.1.2 ). And I thought the layer descriptor has always had a name property. All the way back to Photoshop 7.
Does your document have any layerSets? LayerSets should also have that property. But it you are using 13.0 maybe there is a bug. If so I think I know a workaround.
Let me know what version you are using and about the layerSets.
Just in case, the charID should have two spaces. I don't think that the reason as if it doesn't have the right number of chars you should get a different error.