method for tag
## S3 method for class 'GComponent' tag(x, key)
x
the object
key
key holding attribute