Is there a way to make it so ISPConfig uses the domain for the prefix when creating databases as opposed to the webID?
No, the database prefix is not editable in the current versions without changing the sourcecode. I added this to the bugtracker as feature request.