Changed ID generation strategy in model