change name to id in some relational model