Refactoring id in Dtos classes