Ill post it, but it's like Ashley said. When you use the literal name, or a string, use quotes.
Its just that the way its set up is not very clear where its going. Plus if the layer doesn't exist, whatever you place on the nonexistent layer simply vanishes. This should probably give an error or something.