Define 'ancestors' method for Tag