For your use-case you can use nestedPath
request attribute, which is being set by the <spring:form>
tag:
<spring:message code="mylabelformat_${nestedPath}${path}"/>
The translation code would then be (for your example):
mylabelformat_entity.field_id