Added SchemaInterface::getId() and fixed memory and PDO implementations along