Changed assignedId to identifier.
Update tests.