proper default id generation