Search by custom user parameters

Hey everyone, quick question. I have a custom user attribute e.g. “memberId”, which is shown correctly on the User attributes at events,
But I cannot seem to be able to search for it as I would for any built-in user attribute such as:
user.ID:123-456
Is this a limitation? is there anything wrong with the implementation ?