Rename setId with setRandomIdentity for consistency