Add identifier to constraints