For example, the LendingPool address for the main market is different from the LendingPool address for the Uniswap market.
The source code can be found on Github here.
Returns the list of active
function getAddressesProviderIdByAddress(address addressesProvider)
Returns the ID of an
address of the addresses provider