It should, but yea, I've seen that it doesn't.  I found a way around this by setting the name of it in the super component (the component that holds the component you want to name.)