use default idAttribute if it is not in config