Indeed, label is used in scripts not name. The reason is that one can use in scripts the strings he sees in the interface instead of something that is hidden.
I had the same question when I started. I would set both name and label to the same string.
Dan