Make the id field readonly if it has a value