Using dictionaries in development

Hello everyone. I am developing a new module. Are there any functions, objects, or globals that make getting dictionary ids by code easy? I can’t seem to find anything other than just instantiating an object.

Thanks