I'm not so sure they certainly match the format but I don't really think that's enough. The reason for this could be that they're both used in hafas journey planners or that they both copied the UIC format. If my memory serves me correct however bahn.de does not use these ids but other ones which I presumed to be the eva ids.