Filter with common name and set id