Bug fix; if the field has the replacement prefix twice e.g. question_question_something then both question_ instanecs would be replaced, which was not the design. Replaced the str_replace with a preg_replace with a limit. Job done.