code: def tag(self, layer):
          
          mapping = self.layer_tagger_mapping
          if layer in mapping:
              mapping[layer]()
          return self
docs: Tag the annotations of given layer. It can automatically tag any built-in layer type.