create filter for unique id

Signed-off-by: Blaise Fonseca <blaisefonseca@hotmail.com>