fix wrong pattern for Id definitions