SQL Database: Prototype object creation and deletion, has bug with ID reuse.