The IDs of databases on the PI Asset Framework Server is only visible using the PI Web API, AF SDK or by making an attribute using a substitution parameter. It'd be far simpler to just have it displayed in Database properties like how the AF Server ID is displayed on the Server properties.