FEC-418 metadataProfileId support

fixes support for metadataProfileId, including updated documentation and test page.