Add transform to filter templates based on a metadata ID

@caotto you were right, I wasn't setting the constructor properly.