/** @return the id generator for model object. Subclasses may override. */
protected IdGenerator createIdGenerator() {
final String seed = getSessionId();
// Replace with session.
return new IdGeneratorImpl(getSignedInUser().getDomain(), new Seed() {
@Override
public String get() {
return seed;
}
});