core: Add string to id language lookup method

Will be used to filter compilation units by language.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2 files changed