Putting this here in case anyone finds it useful.
Strings like 'ABC thing' when pushed through camel
and kebab
filters can cause unexpected issues. For example…
{% set str = 'ABC thing' %}
{% set key = str|camel %}
{% set id = key|kebab %}
{% set keyFromId = id|camel %}
{#
key = 'aBCThing'
id = 'a-bc-thing'
keyFromId = 'aBcThing'
#}