replaced $.id with identifier