You might also want to reboot back into Recovery Mode and select the wipe system cache option. The system cache has its own dedicated partition so this does not affect anything that's in the user data partition. Also the system cache is completely different than regular app caches. It's often a good thing to do when you've flashed a ROM, and the process itself only takes a few seconds.
<br>
<br> As for your WiFi network being saved, don't forget to distinguish between the operating system and user account settings. The OS has its own partitions, the user has that data partition. If you were to do a Factory Reset that would wipe out what you've configured using the Settings app.
<br>
<br> Not familiar with 'Mobile ID' Looking online there are references to it being a carrier specific app. Is there a Mobile ID app in your phone's App menu? If so try 'Force stop' and then 'Clear cache'. If the error popup still shows up, try 'Clear data'.