added support for sting ID in database