add getId() for Tag