Add setter to id in model