Consistency for numeric ids
Add id checks in apply method