Added a signature tag matching function.
Self-review