Added DBIDs

I can make use of them for some script calls and other stuff.
Merge pull request #19 from phil65/patch-1

Added DBIDs