Have you ever looked at the sysobjects?...syspermissions?, sysusers? One thing common with them is the id. This id refers to the SQL server numeric id for that object.

e.g.

in the northwind db,

213575799 is the id of the customers table.


You can start from there... hope this helps.